<?php

use think\facade\Route;


Route::group('admin', function () {
    //添加活动
    Route::any('AdminActive/activeAdd', 'AdminActive/activeAdd');
    //编辑|回显活动
    Route::any('AdminActive/activeUpdate', 'AdminActive/activeUpdate');
    //活动列表
    Route::any('AdminActive/activeList', 'AdminActive/activeList');
    //活动回显
    Route::any('AdminActive/activeInfo', 'AdminActive/activeInfo');
    //结束活动
    Route::any('AdminActive/overTime', 'AdminActive/overTime');
    //图片列表
    Route::any('AdminImg/imgList', 'AdminImg/imgList');
    //添加图片
    Route::any('AdminImg/imgAdd', 'AdminImg/imgAdd');
    //编辑回显示图片
    Route::any('AdminImg/imgUpdate', 'AdminImg/imgUpdate');
    //领券数据
    Route::any('AdminCoupon/logList', 'AdminCoupon/logList');
    //记录详情
    Route::any('AdminCoupon/userCouponList', 'AdminCoupon/userCouponList');
    //配置
    Route::any('AdminActive/defaultSetting', 'AdminActive/defaultSetting');
    //发放记录
    Route::any('AdminRecord/staffRecordList', 'AdminRecord/staffRecordList');
    //停止发放
    Route::any('AdminRecord/stopRecord', 'AdminRecord/stopRecord');

    Route::any('AdminRecord/recordInfoList', 'AdminRecord/recordInfoList');


});

Route::group('app', function () {
    //员工端活动
    Route::any('IndexActive/staffActiveList', 'IndexActive/staffActiveList');
    //编辑|回显活动
    Route::any('IndexActive/activeInfo', 'IndexActive/activeInfo');
    //员工端活动列表
    Route::any('IndexActive/staffActiveList', 'IndexActive/staffActiveList');
    //展示到名片
    Route::any('IndexActive/showCard', 'IndexActive/showCard');
    //图片
    Route::any('IndexActive/imgList', 'IndexActive/imgList');
    //添加活动
    Route::any('IndexActive/activeAdd', 'IndexActive/activeAdd');
    //员工端红包详情
    Route::any('IndexActive/staffActiveInfo', 'IndexActive/staffActiveInfo');
    //活动详情
    Route::any('IndexActive/staffActiveText', 'IndexActive/staffActiveText');

    Route::any('IndexActive/selfActive', 'IndexActive/selfActive');

    Route::any('IndexActive/defaultSetting', 'IndexActive/defaultSetting');

    Route::any('IndexActive/indexActive', 'IndexActive/indexActive');

    Route::any('IndexActive/shareNum', 'IndexActive/shareNum');
    //码
    Route::any('IndexRecord/getQr', 'IndexRecord/getQr');

    Route::any('IndexRecord/userRecordList', 'IndexRecord/userRecordList');

    Route::any('IndexActive/getPrice', 'IndexActive/getPrice');




    //正在进行中的活动
    Route::any('IndexActive/getActiveIng', 'IndexActive/getActiveIng');
    //员工端活动详情
    Route::any('IndexActive/staffActiveInfo', 'IndexActive/staffActiveInfo');
    //员工端端分享领取记录
    Route::any('IndexCoupon/staffShareRecord', 'IndexCoupon/staffShareRecord');
    //用户详情
    Route::any('IndexCoupon/staffUserInfo', 'IndexCoupon/staffUserInfo');
    //核销
    Route::any('IndexCoupon/hxCoupon', 'IndexCoupon/hxCoupon');
    //分享日志
    Route::any('IndexCoupon/shareLog', 'IndexCoupon/shareLog');
    //核销券详情
    Route::any('IndexCoupon/hxCouponInfo', 'IndexCoupon/hxCouponInfo');
    //生产二维码
    Route::any('IndexCoupon/getQr', 'IndexCoupon/getQr');





});

















